package com.dhcc.DRGsHosp.facade.dto;

import java.io.Serializable;

public class ADRGDTO implements Serializable {

	private String adrgCode;

	private String adrgDesc;

	private String verCode;

	private String mdcCode;

	public void setAdrgDesc(String adrgDesc) {
		this.adrgDesc = adrgDesc;
	}

	public String getAdrgDesc() {
		return this.adrgDesc;
	}

	public void setVerCode(String verCode) {
		this.verCode = verCode;
	}

	public String getVerCode() {
		return this.verCode;
	}

	public void setMdcCode(String mdcCode) {
		this.mdcCode = mdcCode;
	}

	public String getMdcCode() {
		return this.mdcCode;
	}

	public String getAdrgCode() {
		return adrgCode;
	}

	public void setAdrgCode(String adrgCode) {
		this.adrgCode = adrgCode;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((adrgCode == null) ? 0 : adrgCode.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ADRGDTO other = (ADRGDTO) obj;
		if (adrgCode == null) {
			if (other.adrgCode != null)
				return false;
		} else if (!adrgCode.equals(other.adrgCode))
			return false;
		return true;
	}
}